﻿using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using static Camc.Quality.Tooling.ToolEnum;

namespace Camc.Quality.Tooling.Dto
{
   public class ToolingContentDto: FullAuditedEntityDto<Guid>
    {
        /// <summary>
        /// 工装编号
        /// </summary>
        public string ToolingNo { get; set; }
        /// <summary>
        /// 工装名称
        /// </summary>
        public string ToolingName { get; set; }
        /// <summary>
        /// 工装标识
        /// </summary>
        public string ToolingTypeCode { get; set; }
        /// <summary>
        /// 节点类型id
        /// </summary>
        public Guid ToolingNodeId { get; set; }
        /// <summary>
        /// 工装类型名称
        /// </summary>
        public string ToolingTypeName { get; set; }
        /// <summary>
        /// 单位ID
        /// </summary>
        public Guid UnitId { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 使用状态
        /// </summary>
        public string ToolIsUseState { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Modle { get; set; }
        /// <summary>
        /// 寿命状态
        /// </summary>
        public Guid LifeStateId { get; set; }
        /// <summary>
        /// 寿命状态名称
        /// </summary>
        public string LifeStateName { get; set; }
        /// <summary>
        /// 保管员
        /// </summary>
        public Guid KeeperId { get; set; }
        /// <summary>
        /// 保管员名称
        /// </summary>
        public string KeeperName{get; set;}
        /// <summary>
        /// 等级
        /// </summary>
        public string LevelNo { get; set; }
        /// <summary>
        /// 等级id
        /// </summary>
        public Guid LevelNoId { get; set; }
        /// <summary>
        /// 图号
        /// </summary>
        public string DrawingNo { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 上次校验日期
        /// </summary>
        public DateTime? PreviousVerifyTime { get; set; }
        /// <summary>
        /// 校验周期
        /// </summary>
        public int CheckCycleTime { get; set; }
        /// <summary>
        /// 校验周期
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// Excel验证是否通过，默认为true
        /// <para>true：通过；false：不通过</para>
        /// </summary>
        public bool IsExcelVaildateOK { get; set; } = true;
    }
}
